/*  * Copyright 2013-2020 Smartdot Technologies Co., Ltd. All rights reserved.  * SMARTDOT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.  * 
 */ package com.ssm.zhou.dao;

import org.apache.ibatis.annotations.Param;

import com.ssm.zhou.entity.User;

/** 
 * <p>  
 *   
 * @author <a href="mailto:zhoujb@smartdot.com.cn">周竞博</a>  * @version 1.0, 2020年5月28日
 */
public interface IUserDao {
	/**
	 * 增加用户
	 * @param user
	 */
	public void insertUser(User user);
	
	/**
	 * 查询用户
	 */
	public User queryUserByName(String userName);
	/**
	 * 通过用户名和密码查询用户
	 */
	public User queryUserByNameAndPassword(@Param("userName")String userName,@Param("password")String password);
}
 